from sympy.abc import x,y,z
from  sympy import oo
from  sympy import init_printing,init_session,pprint
import sympy
"""
测试两个重要极限的求解
"""
y=sympy.sin(x)/x

pprint(y)
limits1=sympy.limit(y,x,0)
print(limits1)

z=(1+1/x)**(x)
limits2=sympy.limit(z,x,oo)
pprint(z)
print(limits2)
